Finish TPO3 style reader integration. Thanx, Steve!
authorrobertlipe@gmail.com <robertlipe@gmail.com@f51c46e8-681c-474f-0cfe-069cfd0219fb>
Thu, 29 Mar 2012 21:11:50 +0000 (21:11 +0000)
committerrobertlipe@gmail.com <robertlipe@gmail.com@f51c46e8-681c-474f-0cfe-069cfd0219fb>
Thu, 29 Mar 2012 21:11:50 +0000 (21:11 +0000)
git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4168 f51c46e8-681c-474f-0cfe-069cfd0219fb

gpsbabel/reference/LineStyles.gpx
gpsbabel/reference/LineStyles.kml
gpsbabel/reference/tpo-sample3.gpx
gpsbabel/testo.d/tpo.test

index 6b7d895239cc9083ba209a4eba45ccb7a9c06fe2..8168e13b48b962ce2203dca7e9bb1b7d84656942 100644 (file)
@@ -5,7 +5,7 @@
   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
   xmlns="http://www.topografix.com/GPX/1/0"
   xsi:schemaLocation="http://www.topografix.com/GPX/1/0 http://www.topografix.com/GPX/1/0/gpx.xsd">
-<time>2012-03-29T17:39:43Z</time>
+<time>1970-01-01T00:00:00Z</time>
 <bounds minlat="37.507930994" minlon="-122.292645574" maxlat="37.538625002" maxlon="-122.258695364"/>
 <wpt lat="37.538136244" lon="-122.291540504">
   <ele>2.000000</ele>
index 3707bf6947eb387ad7e528c0175c56d52cb5531c..6753a4c082bb97b0e35f4052d87dbff92c647376 100644 (file)
@@ -3,7 +3,6 @@
        xmlns:gx="http://www.google.com/kml/ext/2.2">
   <Document>
     <name>GPS device</name>
-    <snippet>Created Thu Mar 29 11:39:43 2012</snippet>
     <LookAt>
       <longitude>-122.275670</longitude>
       <latitude>37.523278</latitude>
index c579dfa04e6857aa52f4f438deff8c82028060ca..0892eab604e39337d3a8346e05e21d6503645ec9 100644 (file)
 </rte>
 <trk>
   <name>crazy route 4.49 miles long</name>
+  <desc>Style=GrnMedium, Width=3, Dashed=0, Color=#008000</desc>
 <number>1</number>
 <trkseg>
 <trkpt lat="39.068095684" lon="-119.894665003">
 </trk>
 <trk>
   <name>TRK 2</name>
+  <desc>Style=GrnMedium, Width=3, Dashed=0, Color=#008000</desc>
 <number>2</number>
 <trkseg>
 <trkpt lat="39.068340063" lon="-119.875101328">
 </trk>
 <trk>
   <name>TRK 3</name>
+  <desc>Style=GrnMedium, Width=3, Dashed=0, Color=#008000</desc>
 <number>3</number>
 <trkseg>
 <trkpt lat="39.048154354" lon="-119.897549391">
index cb4ac9ba6bd12230e1ef9769307d2a238e960106..07491881e6bc2d678df439ea2d5d7cdd382fa42e 100644 (file)
@@ -20,6 +20,6 @@ gpsbabel -t -r -w -i tpo3 -f ${REFERENCE}/tpo-sample3.tpo -o gpx -F ${TMPDIR}/tp
 grep -v time <${TMPDIR}/tpo-sample3.gpx >${TMPDIR}/tpo-sample3.gpx2
 compare ${TMPDIR}/tpo-sample3.gpx2 ${REFERENCE}/tpo-sample3.gpx
 # Verify that tpo3 line styles convert sensibly.
-gpsbabel -i tpo3 -f ${REFERENCE}/LineStyles.tpo -o gpx -F ${TMPDIR}/LineStyles.gpx -o kml -F ${TMPDIR}/LineStyles.kml
+gpsbabel -t -w -r -i tpo3 -f ${REFERENCE}/LineStyles.tpo -o gpx -F ${TMPDIR}/LineStyles.gpx -o kml -F ${TMPDIR}/LineStyles.kml
 compare ${TMPDIR}/LineStyles.gpx ${REFERENCE}/LineStyles.gpx
 compare ${TMPDIR}/LineStyles.kml ${REFERENCE}/LineStyles.kml